package com.perceptivesoftware.licensing.client.rpc;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.perceptivesoftware.licensing.client.dto.UserInitialDTO;

public interface SessionServiceAsync {
	public void logoff(boolean isTimeout, AsyncCallback<Void> callback);

	public void initialLogon(AsyncCallback<UserInitialDTO> callback);

	public void loadUserDTO(String optionalSessionID,
			AsyncCallback<UserInitialDTO> asyncCallback);

	public void heartbeat(String sessionID, AsyncCallback<String> asyncCallback);
}